package com.ruoyi.system.domain;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Mp3record implements Serializable {
    private Integer id;

    private String htmlName;

    private String tittle;

    private String mp3IsExists;

    private String mp3OldName;

    private String mp3NewName;

    private String contentUrl;

    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHtmlName() {
        return htmlName;
    }

    public void setHtmlName(String htmlName) {
        this.htmlName = htmlName;
    }

    public String getTittle() {
        return tittle;
    }

    public void setTittle(String tittle) {
        this.tittle = tittle;
    }

    public String getMp3IsExists() {
        return mp3IsExists;
    }

    public void setMp3IsExists(String mp3IsExists) {
        this.mp3IsExists = mp3IsExists;
    }

    public String getMp3OldName() {
        return mp3OldName;
    }

    public void setMp3OldName(String mp3OldName) {
        this.mp3OldName = mp3OldName;
    }

    public String getMp3NewName() {
        return mp3NewName;
    }

    public void setMp3NewName(String mp3NewName) {
        this.mp3NewName = mp3NewName;
    }

    public String getContentUrl() {
        return contentUrl;
    }

    public void setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", htmlName=").append(htmlName);
        sb.append(", tittle=").append(tittle);
        sb.append(", mp3IsExists=").append(mp3IsExists);
        sb.append(", mp3OldName=").append(mp3OldName);
        sb.append(", mp3NewName=").append(mp3NewName);
        sb.append(", contentUrl=").append(contentUrl);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Mp3record other = (Mp3record) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getHtmlName() == null ? other.getHtmlName() == null : this.getHtmlName().equals(other.getHtmlName()))
                && (this.getTittle() == null ? other.getTittle() == null : this.getTittle().equals(other.getTittle()))
                && (this.getMp3IsExists() == null ? other.getMp3IsExists() == null : this.getMp3IsExists().equals(other.getMp3IsExists()))
                && (this.getMp3OldName() == null ? other.getMp3OldName() == null : this.getMp3OldName().equals(other.getMp3OldName()))
                && (this.getMp3NewName() == null ? other.getMp3NewName() == null : this.getMp3NewName().equals(other.getMp3NewName()))
                && (this.getContentUrl() == null ? other.getContentUrl() == null : this.getContentUrl().equals(other.getContentUrl()))
                && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getHtmlName() == null) ? 0 : getHtmlName().hashCode());
        result = prime * result + ((getTittle() == null) ? 0 : getTittle().hashCode());
        result = prime * result + ((getMp3IsExists() == null) ? 0 : getMp3IsExists().hashCode());
        result = prime * result + ((getMp3OldName() == null) ? 0 : getMp3OldName().hashCode());
        result = prime * result + ((getMp3NewName() == null) ? 0 : getMp3NewName().hashCode());
        result = prime * result + ((getContentUrl() == null) ? 0 : getContentUrl().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }
}